package com.mgs.fwk.ui.events
{
	import com.mgs.product.tagger.actions.ApplicationAction;
	
	import flash.events.Event;
	
	public class ContextEvent extends Event
	{
		public static const TYPE:String = "ContextEvent:TYPE";
		
		private var _action:ApplicationAction;
		
		public function ContextEvent(action:ApplicationAction)
		{
			super(TYPE, true);
			_action = action;
		}
		
		public function get action():ApplicationAction
		{
			return _action;
		}
		
		override public function clone():Event
		{
			return new ContextEvent(action);
		}
	}
}